﻿using MediatR;
using System;

namespace ShineTech.Web.Missons.Commands
{
    public class CompletedMissonCommand : IRequest<MissonDTO>
    {
       

        public CompletedMissonCommand(Guid id,  bool isComplete, Guid updatedUserId, string updatedUserName, DateTime updatedTime)
        {
            Id = id;
            IsComplete = isComplete;
            UpdatedUserId = updatedUserId;
            UpdatedUserName = updatedUserName ?? throw new ArgumentNullException(nameof(updatedUserName));
            UpdatedTime = updatedTime;
        }
        public bool IsComplete { get; set; }

        public Guid Id { get; set; }
        public string Name { get;  set; }

        public Guid UpdatedUserId { get;  set; }

        public string UpdatedUserName { get;  set; }

        public DateTime UpdatedTime { get;  set; }

       


       
    }

}
